package clientresponse;

import android.util.Log;
import clientcore.AndroidMain;
import clientcore.Question;
import java.io.IOException;
import java.util.Vector;

/**
 * ResponseBuddyInvite
 * @brief Parses a response from the server after inviting another player
 * to be a buddy.
 * @author brian
 */
public class ResponseBuddyInvite extends ResponseFromServer {
	private static final String TAG = ResponseBuddyInvite.class.getSimpleName();
	public static short status = -1;
    @Override
    public short process() {
    // Protocol: (short) status:
        // -1 Player does not exist
        // 0  Player not online
        // 1  Invite sent successfully
        ResponseBuddyInvite.status = super.readShort(inFromServer);
        return -2;
    }
}
